import api from '../../api';

export default {
  namespace: 'dongModel',
  state: {
    tableData: [
      {
        title: '1',
        value: '2',
        key: '1',
      },
      {
        title: '312',
        value: '456',
        key: '2',
      },
      {
        title: '43',
        value: '44',
        key: '4',
      },
    ],
    test: '测试时数据',
  },
  effects: {
    *getTableData({ payload, callback }, { call, put, select }) {
      const res = yield call(api.getSeriesProducts, {});
      // callback && callback(res)
    },
  },
  reducers: {},
};
